import request from '../utils/request';

export const fetchUserData = () => {
    return request({
        url: './mock/user.json',
        method: 'get'
    });
};


export const fetchTest = () => {
    return request({
        url: 'https://api.oick.cn/api/lishi',
        method: 'get'
    });
};

export const fetchRoleData = () => {
    return request({
        url: './mock/role.json',
        method: 'get'
    });
};